<?php include_once 'brand_header_admin.php' ;?>
<!--主体内容-->
<?php 
		$brand_title = $brand_desc = "";
		$action =  "index.php?mod=brandadmin&code=category_edit&action=edit";
		if( isset($this->Get['id']) && !empty($this->Get['id']) ){
			$brand_title = $brandInfo['brandseri'];
			$brand_desc = $brandInfo['tobacconame'];
			$action =  $action."&id=".$this->Get['id'];
		}



?>
<div class="main admin">
	<!--左侧导航菜单-->
	<?php include_once 'brand_admin_left.php' ;?>
	<!--主体内容-->
	<div class="r_box">
		<div class="title"><h1>添加新分类</h1></div>
		<div class="rlist">
		<form method="post" action="<?php echo $action;?>" >
			<table width="620px" border="0" cellpadding="0" cellspacing="0" class="post" >
				<tr>
					<td width="100px">分类名称：</td>
					<td><input type="text" name="brand_title" value="<?php echo $brand_title;?>" class="inptxt" style="width:270px"></td>
				</tr>
				<tr>
					<td>描述：</td>
					<td><textarea name="brand_desc" class="inptxt" style="height:100px;width:500px" ><?php echo $brand_desc;?></textarea></td>
				</tr>
		
				<tr>
					<td colspan="2" align="center"><button type="submit" class="button">保存</button> <button type="reset" class="reset">取消</button></td>
				</tr>
			</table>
		</form>
			
		</div>
	</div>
	<div class="float_both"></div>
	</div>
<!--底部-->
<?php include_once 'brand_footer.php' ;?>
